package ee.maoinvest.backend.model.data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;

public class TempRelationBetweenSubstationAndMainElectricityMeter implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 3620647303764276354L;
	
	private int tempRelationBetweenSubstationAndMainElectricityMeterID; 		// INTEGER		 		NOT NULL DEFAULT nextval('seq_tempRelationBetweenSubstationAndMainElectricityMeterID')
	private int substationFK; 												// SMALLINT		 		NOT NULL
	private int mainElectricityMeterFK; 									// INTEGER		 		NOT NULL
	private Date dateRelationStarted; 											// java.sql.Date 		d_dateIsRequired
	private Date dateRelationEnded; 											// java.sql.Date		d_dateIsNotRequired
	private BigDecimal electricityMeterDaytimeReadingAtRelationStartDate; 		// NUMERIC(14, 4) 		NOT NULL
	private BigDecimal electricityMeterNightTimeReadingAtRelationStartDate; 	// NUMERIC(14, 4) 		NOT NULL
	private BigDecimal electricityMeterReactivePowerReadingAtRelationStartDate; // NUMERIC(14, 4)
	private BigDecimal electricityMeterDaytimeReadingAtRelationEndDate; 		// NUMERIC(14, 4)
	private BigDecimal electricityMeterNightTimeReadingAtRelationEndDate; 		// NUMERIC(14, 4)
	private BigDecimal electricityMeterReactivePowerReadingAtRelationEndDate; 	// NUMERIC(14, 4)
	
	
	
	
	public int getTempRelationBetweenSubstationAndMainElectricityMeterID() 
	{
		return tempRelationBetweenSubstationAndMainElectricityMeterID;
	}
	
	public void setTempRelationBetweenSubstationAndMainElectricityMeterID(
			int tempRelationBetweenSubstationAndMainElectricityMeterID) 
	{
		this.tempRelationBetweenSubstationAndMainElectricityMeterID = tempRelationBetweenSubstationAndMainElectricityMeterID;
	}
	
	public int getSubstationFK() 
	{
		return substationFK;
	}
	
	public void setSubstationFK(int substationFK) 
	{
		this.substationFK = substationFK;
	}
	
	public int getMainElectricityMeterFK() 
	{
		return mainElectricityMeterFK;
	}
	
	public void setMainElectricityMeterFK(int mainElectricityMeterFK) 
	{
		this.mainElectricityMeterFK = mainElectricityMeterFK;
	}
	
	public Date getDateRelationStarted() 
	{
		return dateRelationStarted;
	}
	
	public void setDateRelationStarted(Date dateRelationStarted) 
	{
		this.dateRelationStarted = dateRelationStarted;
	}
	
	public Date getDateRelationEnded() 
	{
		return dateRelationEnded;
	}
	
	public void setDateRelationEnded(Date dateRelationEnded)
	{
		this.dateRelationEnded = dateRelationEnded;
	}
	
	public BigDecimal getElectricityMeterDaytimeReadingAtRelationStartDate() 
	{
		return electricityMeterDaytimeReadingAtRelationStartDate;
	}
	
	public void setElectricityMeterDaytimeReadingAtRelationStartDate(
			BigDecimal electricityMeterDaytimeReadingAtRelationStartDate) 
	{
		this.electricityMeterDaytimeReadingAtRelationStartDate = electricityMeterDaytimeReadingAtRelationStartDate;
	}
	
	public BigDecimal getElectricityMeterNightTimeReadingAtRelationStartDate() 
	{
		return electricityMeterNightTimeReadingAtRelationStartDate;
	}
	
	public void setElectricityMeterNightTimeReadingAtRelationStartDate(
			BigDecimal electricityMeterNightTimeReadingAtRelationStartDate) 
	{
		this.electricityMeterNightTimeReadingAtRelationStartDate = electricityMeterNightTimeReadingAtRelationStartDate;
	}
	
	public BigDecimal getElectricityMeterReactivePowerReadingAtRelationStartDate() 
	{
		return electricityMeterReactivePowerReadingAtRelationStartDate;
	}
	
	public void setElectricityMeterReactivePowerReadingAtRelationStartDate(
			BigDecimal electricityMeterReactivePowerReadingAtRelationStartDate) 
	{
		this.electricityMeterReactivePowerReadingAtRelationStartDate = electricityMeterReactivePowerReadingAtRelationStartDate;
	}
	
	public BigDecimal getElectricityMeterDaytimeReadingAtRelationEndDate()
	{
		return electricityMeterDaytimeReadingAtRelationEndDate;
	}
	
	public void setElectricityMeterDaytimeReadingAtRelationEndDate(
			BigDecimal electricityMeterDaytimeReadingAtRelationEndDate) 
	{
		this.electricityMeterDaytimeReadingAtRelationEndDate = electricityMeterDaytimeReadingAtRelationEndDate;
	}
	
	public BigDecimal getElectricityMeterNightTimeReadingAtRelationEndDate() 
	{
		return electricityMeterNightTimeReadingAtRelationEndDate;
	}
	
	public void setElectricityMeterNightTimeReadingAtRelationEndDate(
			BigDecimal electricityMeterNightTimeReadingAtRelationEndDate) 
	{
		this.electricityMeterNightTimeReadingAtRelationEndDate = electricityMeterNightTimeReadingAtRelationEndDate;
	}
	
	public BigDecimal getElectricityMeterReactivePowerReadingAtRelationEndDate() 
	{
		return electricityMeterReactivePowerReadingAtRelationEndDate;
	}
	
	public void setElectricityMeterReactivePowerReadingAtRelationEndDate(
			BigDecimal electricityMeterReactivePowerReadingAtRelationEndDate) 
	{
		this.electricityMeterReactivePowerReadingAtRelationEndDate = electricityMeterReactivePowerReadingAtRelationEndDate;
	}
}
